﻿using NetTopologySuite.Features;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Observer
{
 
    public class AttributeViewObserver : IObserver
    {
        public void Update(IFeature feature, ChangeStatus status)
        {
            if (status == ChangeStatus.ATTRIBUTE)
            {
                Console.WriteLine("要素Attribute改变为：" + feature.Attributes["Name"].ToString());
            }
        }
    }
}
